package com.jackey.rmi.service.impl;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import com.jackey.rmi.service.RmiService;

public class RmiServiceImpl extends UnicastRemoteObject implements RmiService {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6510340460054195311L;

	public RmiServiceImpl() throws RemoteException {
		super();
	}

	@Override
	public String sayHello(String msg) throws RemoteException{
		return "rmi remote call return msg:"+msg;
	}

}
